package cn.yunyichina.provider.pay.service;

import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;

import java.util.Map;

/**
 * Created by Lullaby on 2016/11/5.
 */
public class BaseAppService extends BaseService {

    protected boolean checkAuthAppIdentityParameters(Map params) {
        return !CollectionUtils.isEmpty(params) &&
                !StringUtils.isEmpty(params.get("app_code")) &&
                !StringUtils.isEmpty(params.get("pay_code"));
    }

}
